/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package database_objects;

/**
 *
 * @author pawel
 */
public class Author {
    
    private String name;
    private String surname;
    private String id;

    public Author(String id, String name, String surname) {
        this.id = id;
        this.name = name;
        this.surname = surname;
    }
    
    public String getName() {
        return name;
    }

    public String getSurname() {
        return surname;
    }

    public String getId() {
        return id;
    }

    @Override
    public String toString() {
       return surname + " " + name;
    }
    
    
    
}
